/*
 *  Copyright 2015-2016, RenGu Technology (BeiJing) Co., Ltd.
 *  All right reserved.
 *
 *  THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF RENGU TECHNOLOGY (BeiJing) CO., LTD.
 *
 *  THE CONTENTS OF THIS FILE MAY NOT BE DISCLOSED TO THIR PARTIES,
 *  COPIED OR DUPLICATED IN ANY FORM, IN WHOLE OR IN PART,
 *  WITHOUT THE PRIOR WRITTEN PERMISSION OF RENGU TECHNOLOGY (BeiJing) CO., LTD.
 *
 *  OpmsParam.java
 *
 *  Edit History:
 *  	2016年9月5日 - Created by pengpeng
 *
 */
package cc.rengu.igas.channel.cups.common.constant;

/**
 * 应用公共常量类
 *
 * @author 王成
 * @date 2018/5/31
 */
public class CupsParamConstant {
    public static final int CUPS_INSTIDCODE_FILL_LEN = 11;
    public static final String GB18030 = "GB18030";
    public static final String SYS_ID = "IGAS";
    public static final String REQUEST_ID = "0492";
    public static final String VERSION_ID = "01";
    public static final String CHANNEL_ID = "11";
    public static String TMK_KEY_TYPE = "KA00";
    public static String PIN_KEY_TYPE = "KA02";
    public static String MAC_KEY_TYPE = "KA03";
    /**
     * 核心以分为单位需补0至金额长度
     */
    public static final int AMOUNT_LENGTH = 12;
    /**
     * MAC计算结构体配置文件
     **/
    public static final String CUPS_8583_MAC_FILE = "./cfg/cups/transfer/CUPS_8583.mac";
    /**
     * MAC计算类型，一般交易
     **/
    public static final String CUPS_8583_MAC_TYPE_COMMON = "COMMON";
    /**
     * MAC计算类型，转账等交易
     **/
    public static final String CUPS_8583_MAC_TYPE_TA = "TA";
    /**
     * MAC计算类型，密钥重置等交易
     **/
    public static final String CUPS_8583_MAC_TYPE_KEY = "KEY";
    /**
     * MAC计算配置，装载缓存名称
     **/
    public static final String CUPS_8583_MAC_CACHE_NAME = "CUPS_8583_MAC";
    /**
     * cups参数
     */
    public static final String CUPS_PARAM_TYPE = "CUPS_PARAM";
    /**
     * cups清算日期参数
     */
    public static final String CUPS_SETTLE_DATE = "CUPS_SETTLE_DATE";
    /**
     * cups流水号缓存
     */
    public static final String CACHE_CUPS_SN = "CUPS_SN_CACHE";
    /**
     * cups成功应答码
     */
    public static final String SUCCESS_CODE = "00";
}
